package cn.zhf.shop.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value="cn-zhf-shop-entity-Campus")
@Data
public class Campus {
    /**
    * 校区ID
    */
    @ApiModelProperty(value="校区Id")
    private Integer campusId;

    /**
    * 校区名称
    */
    @ApiModelProperty(value="校区名称")
    private String campusName;

    /**
    * 校区logo
    */
    @ApiModelProperty(value="校区logo")
    private String campusImg;

    /**
    * 校区介绍
    */
    @ApiModelProperty(value="校区介绍")
    private String campusInfo;

    /**
    * 校区状态
    */
    @ApiModelProperty(value="校区状态")
    private Integer campusState;

    /**
    * 营业时间
    */
    @ApiModelProperty(value="营业时间")
    private String campusHours;

    /**
    * 所在地区
    */
    @ApiModelProperty(value="所在地区")
    private String area;

    /**
    * 所在省份
    */
    @ApiModelProperty(value="所在省份")
    private String provice;

    /**
    * 所在城市
    */
    @ApiModelProperty(value="所在城市")
    private String city;

    /**
    * 所在区县
    */
    @ApiModelProperty(value="所在区县")
    private String district;

    /**
    * 联系人
    */
    @ApiModelProperty(value="联系人")
    private String conntact;

    /**
    * 联系人电话
    */
    @ApiModelProperty(value="联系人电话")
    private String contactNumber;

    /**
    * 所属机构id
    */
    @ApiModelProperty(value="所属机构id")
    private Integer orgId;

    /**
    * 校区负责人id
    */
    @ApiModelProperty(value="校区负责人id")
    private Integer head;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    private String  contactTel;

    private String campusEmail;

    private String bank;

    private String account;

    private String org_username;

    private  Integer orgType;

    private String orgName;

    public Integer getCampusId() {
        return campusId;
    }

    public String getCampusName() {
        return campusName;
    }

    public String getCampusImg() {
        return campusImg;
    }

    public String getCampusInfo() {
        return campusInfo;
    }

    public Integer getCampusState() {
        return campusState;
    }

    public String getCampusHours() {
        return campusHours;
    }

    public String getArea() {
        return area;
    }

    public String getProvice() {
        return provice;
    }

    public String getCity() {
        return city;
    }

    public String getDistrict() {
        return district;
    }

    public String getConntact() {
        return conntact;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public Integer getHead() {
        return head;
    }
}
